﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace AudioBookWS.ServiceUtil
{
    public class WSConstants
    {
        public enum ContentType : int
        {
            BlockedRequest = 0,
            Category = 1,
            Article = 2,
            ArticlePart = 3,
            Hit = 4,
            FavoriteList = 5,
            FavoriteAdd = 6,
            FavoriteDelete = 7,
            FavoriteDeleteAll = 8,
            Download = 9,
            Rating = 10,
            Notify = 11,
            Counter = 12,
            UserLogin = 13,
            UserChangePass = 14,           
            UserInfo = 15,
            UserRegister = 16,
            UserGetPassword = 17
        }

        public class ConfigKey
        {
            public const string CORE_INVALID_REQUEST = "CORE_INVALID_REQUEST";

            public const string CORE_NOT_ENOUGHT_BALANCE = "CORE_NOT_ENOUGHT_BALANCE";

            public const string CORE_DOWNLOAD_URL = "CORE_DOWNLOAD_URL";

            public const string CORE_NOT_REGISTED_MESSAGE = "CORE_NOT_REGISTED_MESSAGE";

            public const string CORE_LOGIN_FAIL = "CORE_LOGIN_FAIL";

            public const string CORE_CHANGE_PASS_SUCCESS = "CORE_CHANGE_PASS_SUCCESS";

            public const string CORE_CHANGE_PASS_FAIL = "CORE_CHANGE_PASS_FAIL";

            public const string CORE_SEND_PASSWORD_TO_EMAIL_SUCCESS = "CORE_SEND_PASSWORD_TO_EMAIL_SUCCESS";

            public const string CORE_REGISTER_SUCCESS = "CORE_REGISTER_SUCCESS";

            public const string CORE_REGISTER_FAIL = "CORE_REGISTER_FAIL";

            public const string CORE_EMAIL_EXIST = "CORE_EMAIL_EXIST";

            public const string CORE_EMAIL_NOT_EXIST = "CORE_EMAIL_NOT_EXIST";

            public const string CORE_ACCOUNT_EXIST = "CORE_ACCOUNT_EXIST";

            public const string CORE_LOAD_IMAGE = "CORE_LOAD_IMAGE";
        }
    }
}
